package com.topcheer.common.base.mapper;

import java.util.List;
import java.util.Map;

/**
 * @author xutao
 * @Package com.topcheer.common.base.mapper
 * @Description: ${todo}
 * @date 2020/3/29 20:20
 */
public interface Mapper<T> {

    T selectOne(Object id);

    List<T> select(T var1);

    List<T> selectPage(Map map);

    List<T> selectAll();

    int selectCount(T var1);

    int insert(T var1);

    int update(T var1);

    int delete(T var1);

    int deleteById(Long id);
}
